const devUrl = "http://127.0.0.1:8085";


module.exports = {
    baseUrl: './',
    assetsDir: 'static',
    productionSourceMap: false,
    devServer: {
        // 所有的接口请求代理
        proxy: {
            '/api': {
                target: devUrl,
                changeOrigin: true,
                ws: true,
                pathRewrite: {
                    '^/api': '/'
                }
            }
        }
    }
}
